package com.ruoyi.system.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "ruoyi-order")
public interface OrderFeign {

    @RequestMapping(value = "order/reduceStock",method = RequestMethod.GET)
    Integer reduceStock();
}
